package com.cc.springboot.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.cc.springboot.service.UserService;


@RestController
public class IndexController {

	@Autowired
	private UserService userService;

	@RequestMapping("/index")
	public String index(){
		userService.createJdbcUser();
		return "add success";
	}
	
}
